package com.blog.service;

import com.blog.bean.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

public interface UserService {

    int deleteByPrimaryKey(Long userId);

    int insert(User user);

    int insertSelective(User user);

    User selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);

    List<User> selectUser(User user);

    User getUser(User user);
}
